<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="keywords" content="铜仁商务局管理后台">
    <meta name="description" content="">
    <meta name="author" content="vimi8.com">
    <meta name="renderer" content="webkit">
    <link rel="icon" href="icon.ico">
    <title>铜仁商务局管理后台</title>
    <link rel="stylesheet" href="node_modules/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="node_modules/font-awesome/css/font-awesome.min.css">
    <link href="css/common.css" rel="stylesheet">
</head>

<body>
<div id="wrapper">
    <div class="ht-top">
        <nav class="ht-navbar" role="navigation">
            <div class="ht-navbar-header">
                <a class="ht-navbar-brand" href="#">铜仁商务局管理后台</a>
            </div>
            <ul class="nav ht-navbar-nav">
                <!--<li class="active"><a href="#">1</a></li>
                <li><a href="#">2</a></li>-->
            </ul>
            <ul class="nav ht-navbar-nav navbar-right">
                <li class="active">
                    <!--<span>下午好</span>&nbsp;&nbsp;-->
                    <span>ebb</span>&nbsp;&nbsp;
                </li>
                <li>
                    <img src="http://qzapp.qlogo.cn/qzapp/100414805/830A5F805EB7FBC2E1E03D5ADB844CA2/100" width="25"
                         height="25" alt="" class="img-circle">&nbsp;&nbsp;
                </li>
                <li>
                    <a id="logout" title="退出登录" ><i class="fa fa-power-off"></i></a>
                </li>
            </ul>
        </nav>
    </div>
    <div class="ht-content">
        <aside class="ht-aside">
            <ul class="list-unstyled ht-aside-nav">
                <li>
                    <div class="ht-aside-item">
                        <a data-toggle="collapse" href="#collapseThree">
                            <i class="fa fa-sitemap fa-fw"></i> 平台管理
                            <i class="fa fa-angle-down angle"></i>
                        </a>
                    </div>

                    <div id="collapseThree" class="collapse in">
                        <ul class="list-unstyled">
                            <li class="ht-aside-item nl"><a href="indexEntity.html"><i class="fa fa-fw fa-code-fork text-muted"></i> 第三方平台</a></li>
                            <li class="ht-aside-item nl"><a href="ebbPlatformEntity.html"><i class="fa fa-fw fa-cogs text-muted"></i> 电商综合服务站</a></li>
                            <li class="ht-aside-item nl"><a href="selfBuildPlatformEntity.html"><i class="fa fa-fw fa-cogs text-muted"></i> 自建平台</a></li>
                        </ul>
                    </div>
                </li>
                <li>
                    <div class="ht-aside-item">
                        <a href="productManagerEntity.html"><i class="fa fa-product-hunt fa-fw"></i>产品管理</a>
                    </div>

                </li>
                            </ul>
        </aside>
        <div class="ht-main">
            <div class="ht-title">
                <h3 class="pull-left">平台管理</h3>

            </div>

            <div class="ht-panel">
                <div class="panel panel-default">
                    <div class="panel-body">
                        <form class="form-inline" role="form">
                            <div class="form-group">
                                <label for="name">区域</label>
                                <select id="addressCode" class="form-control" data-style="btn-primary" value="--选择区域--">

                                </select>

                            </div>
                            <div class="form-group">
                                <label for="name">店铺名称</label>
                                <input type="text" class="form-control" id="name" placeholder="请输入名称">
                            </div>
                            <a href="#" class="btn btn-info" onclick="comments()">提交</a>
                        </form>
                    </div>
                    <table class="table">
                        <thead>
                        <tr>
                            <th>店铺名称</th>
                            <th>归属平台</th>
                            <th>类别</th>
                            <th>地址码</th>
                            <th>地址详情</th>
                            <th>负责人</th>
                            <th>联系方式</th>
                            <th>员工数</th>
                            <th>店铺网址</th>
                            <th>操作</th>
                        </tr>
                        </thead>
                        <tbody id="farm-list-data">


                        </tbody>
                        <script id="farm-list-tmpl" type="text/x-jsrender">
                            <tr>
                                <td>{{:storeName}}</td>
                                <td>{{:platformCategory}}</td>
                                <td>{{:storeCategory}}</td>
                                <td>{{:addressCode}}</td>
                                <td>{{:addressDetail}}</td>
                                <td>{{:responsiblePerson}}</td>
                                <td>{{:mobileNo}}</td>
                                <td>{{:employeeNum}}</td>
                                <td>{{:storeUrl}}</td>
                                <td>
                                <a href="addPlatform.html?id={{:id}}" class="btn btn-sm">修改</a>
                                <a href="javascript:void(0);"  onclick="deleteTrainInfo('{{:id}}')" class="btn btn-sm text-danger"> 删除</a>
                                </td>
                            </tr>
                        </script>
                    </table>
                    <div class="panel-footer" style="height: 60px;" id="pagination-bar">
                        <div id="pagination-box" class="pull-left">
                            <ul class="pagination" id="pagination">

                            </ul>
                        </div>

                        <div class="form-inline pull-right">
                            <div class="form-group">
                                <p class="form-control-static">共<span id="farm-count">3662</span>个平台，<span id="page-total">184</span>页</p>
                            </div>
                            <div class="form-group">
                                <div class="input-group" style="width: 130px;">
                                    <input type="number" min="1" class="form-control" id="page-index">
                                    <span class="input-group-btn">
                                        <button class="btn btn-default" type="button" id="go-index">跳转</button>
                                    </span>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>

        </div>
    </div>
</div>
<!-- 模态框（Modal） -->
<div class="modal fade" id="importModal" tabindex="-1" role="dialog"
     aria-labelledby="myModalLabel" aria-hidden="true">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-body text-center">
                <p><i class="fa fa-times pull-right" data-dismiss="modal"></i></p>
                <p><i class="fa fa-exclamation-circle" style="font-size:80px;color:#DDB600"></i></p>

                <p>请按请按 <a href="./templatefile/平台信息模板.xls" style="color:blue;text-decoration:underline">标准格式</a>导入数据，否则可能导致导入失败</p>


                <form  name="imporexcelform" class="form-inline" role="form" enctype="multipart/form-data"
                      style="margin-bottom:80px;margin-top:10px;margin-left:140px;" method="post" >
                    <a href="javascript:;" class="file">
                        <input type="file" name="file" id="">
                    </a>

                    <div><span class="showFileName"></span></div>
                    <div style="display:none" id="importbtn">
                        <button type="submit" class="btn btn-info" style="width:100px">导入</button>
                    </div>

                </form>
            </div>

        </div>
    </div>
</div>
<script src="node_modules/jquery/dist/jquery.min.js"></script>
<script src="node_modules/bootstrap/dist/js/bootstrap.min.js"></script>
<script src="node_modules/jquery/dist/jquery.form.min.js"></script>
<script src="node_modules/jsviews/jsviews.min.js"></script>
<script src="node_modules/twbs-pagination/jquery.twbsPagination.min.js"></script>


<script src="js/common.js"></script>
<script src="js/ebbThirdPartyManage.js"></script>
</body>

</html>
